
public class Boiler {

	private boolean empty = true;

	public void fill() {
		empty = false;
	}

	public void drain() {
		empty = true;
	}

	public boolean hasWater() {
		return !empty;
	}
}
